package cn.iocoder.yudao.module.api.promotion.activity.enums;

import cn.iocoder.yudao.framework.business.basic.enums.EnumValuable;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 优惠类型枚举
 *
 * @author 芋道源码
 * @author 山野羡民
 */
@Getter
@RequiredArgsConstructor
public enum PromotionTypeEnum implements EnumValuable {

    SECKILL_ACTIVITY(1, "秒杀"),
    BARGAIN_ACTIVITY(2, "砍价"),
    COMBINATION_ACTIVITY(3, "拼团"),

    DISCOUNT_ACTIVITY(4, "限时折扣"),
    REWARD_ACTIVITY(5, "满减送"),

    MEMBER_LEVEL(6, "用户等级"),
    COUPON(7, "优惠劵"),
    POINT(8, "积分"),

    VIP(9, "会员价"),
    WHOLESALE(10, "批发价"),

    CRYPTOCURRENCY(20, "联盟豆"),
    FIRST_ORDER_DISCOUNT(21, "首单优惠"),
    TEAM_DISCOUNT(22, "团队优惠"),

    RED_PACKET(30, "红包"),
    ;

    @EnumValue
    private final Integer value;
    private final String name;

}
